﻿@using Controllers
@{
    var func=new MyFunc();
}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
@Html.Partial("_top")
</head>
<body>
@Html.Partial("_header")
<div id="cbanner" style="background:url('@ViewBag.model.cbanner') no-repeat center top;height:380px;width:100%;"></div>
<div class="position"><div class="box">您的当前位置：@Html.Raw(ViewBag.model.cur)</div></div>

<div class="sidebar box">

<div class="sb_nav">   
<h3 class='title font2'>关于我们</h3>
   <div class="active" id="sidebar">
		 @{var product=func.GetList(0,3);}
		 @for(var j=0;j<product.Count;j++){		 
				var item=product[j];
				var url=string.IsNullOrEmpty(item.url)?"/article/"+item.ID:item.url;
				var target=string.IsNullOrEmpty(item.url)?"_selft":"_blank";
      <dl class="list-none navnow">
        <dt class="@if(item.ID==ViewBag.model.ID){@Html.Raw("on");}"><a href="@url" title="@item.title" traget="@target"><span>@item.title</span></a></dt>
      </dl>
		 }
      <div class="clear"></div>
    </div>
 <div class="clear"></div>
    <h3 class='title line'>联系方式</h3>
    <div class="active ct-con">
	@Html.Raw(func.GetJxinxi("clxwm").content)
    </div>
 </div>
  <div class="sb_box">
    <h3 class="title">@ViewBag.model.title</h3>
    <div class="editor">
      @Html.Raw(ViewBag.model.content)
      <div class="clear"></div>
    </div>
  </div>
  <div class="clear"></div>
</div>

		<div id="footer">
			<div class="box">@Html.Raw(ViewBag.model.copyright)</div>
		</div>
	<script type="text/javascript" src="@ViewBag.model.skin/js/foot.js"></script>

</body>
</html>

				